(xg_make_tool_item): Insert comment about eventbox.
authorJan D. <jan.h.d@swipnet.se>
Wed, 7 Sep 2011 17:25:24 +0000 (19:25 +0200)
committerJan D. <jan.h.d@swipnet.se>
Wed, 7 Sep 2011 17:25:24 +0000 (19:25 +0200)
src/ChangeLog
src/gtkutil.c

index 37afb3cbc33aeeb9843332faeb0776918978a189..f7cbac9e45ac059583056f0847e5223faf1e822c 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-07  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_make_tool_item): Insert comment about eventbox.
+
 2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        isnan: Fix porting problem to Solaris 10 with bundled gcc.
index c154797735ec0464187c0050e158b8f7e162f7a1..04d05d2a630faa8258ced9af931b48c27c01a18a 100644 (file)
@@ -4219,6 +4219,7 @@ xg_make_tool_item (FRAME_PTR f,
   GtkToolItem *ti = gtk_tool_item_new ();
   GtkWidget *vb = horiz ? gtk_hbox_new (FALSE, 0) : gtk_vbox_new (FALSE, 0);
   GtkWidget *wb = gtk_button_new ();
+  /* The eventbox is here so we can have tooltips on disabled items.  */
   GtkWidget *weventbox = gtk_event_box_new ();
 
   if (wimage && !text_image)